package com.atgm.mall.gmmailware;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.amqp.rabbit.annotation.EnableRabbit;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.transaction.annotation.EnableTransactionManagement;

@EnableRabbit
@EnableTransactionManagement
@EnableFeignClients("com.atgm.mall.gmmailware.feign")
@MapperScan("com.atgm.mall.gmmailware.dao")
@SpringBootApplication
public class GmMailWareApplication {

    public static void main(String[] args) {
        SpringApplication.run(GmMailWareApplication.class, args);
    }

}
